<template>
  <div>
    <button @click="$emit('commit')" >submit</button>
    <button @click="$emit('commit1','Hello World')">submit1</button>
  </div>
</template>

<script>
  export default {
    name: "BaseComponent",
    data() {
      return {
        msg: 'hello'
      }
    }
  }
</script>

<style scoped>

</style>
